﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="CreateNewAuthority.aspx.cs" Inherits="Presention.CreateNewAuthority" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">

        .style1
        {
            color: black;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>Create New Authority</p>
    <asp:Panel ID="Panel1" runat="server" GroupingText = "Authority">
        <span class="style1">Authority Name&nbsp; </span>
        <asp:TextBox ID="AuthorityName" runat="server"></asp:TextBox>
        &nbsp;&nbsp;&nbsp;
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="AuthorityName"
            ErrorMessage="AuthorityName can't be empty!" Display="Static" ForeColor="Red" ></asp:RequiredFieldValidator>
        <br />
        <br />
        <span class="style1">Level&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </span>
        <asp:DropDownList ID="Level" runat="server" Height="18px" Width="153px">
        </asp:DropDownList>
        &nbsp;&nbsp;&nbsp;
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="Level"
            ErrorMessage="LevelName can't be empty!" Display="Static" ForeColor="Red"></asp:RequiredFieldValidator>
        <br />
        <br />
        <br />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="NewButton" runat="server" Text="Create New" 
            onclick="NewButton_Click" />
    </asp:Panel>
</asp:Content>
